package com.gun.management.module.raffle.controller.admin.lotteryrecord.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 用户抽奖履历 Response VO")
@Data
@ExcelIgnoreUnannotated
public class LotteryRecordRespVO {

    @Schema(description = "编号", example = "246")
    @ExcelProperty("编号")
    private Long id;

    @Schema(description = "用户id", example = "29471")
    @ExcelProperty("用户id")
    private Long userId;

    @Schema(description = "抽奖id", example = "3674")
    @ExcelProperty("抽奖id")
    private Long lotteryId;


    @Schema(description = "抽奖名称", example = "九宫格活动1")
    @ExcelProperty("抽奖名称")
    private String lotteryName;



    @Schema(description = "抽奖类型id", example = "2")
    @ExcelProperty("抽奖类型id")
    private Long lotteryCategoryId;


    @Schema(description = "用户昵称", example = "jack")
    @ExcelProperty("用户昵称")
    private String nickName;

    @Schema(description = "手机号码", example = "13800138001")
    @ExcelProperty("手机号码")
    private String mobile;


    @Schema(description = "奖品名称", example = "键盘")
    @ExcelProperty("奖品名称")
    private String prizeName;

    @Schema(description = "奖品类型id", example = "0")
    @ExcelProperty("奖品类型id")
    private Long prizeType;


    @Schema(description = "奖品id", example = "17863")
    @ExcelProperty("奖品id")
    private Long ruleId;

    @Schema(description = "总抽奖次数")
    @ExcelProperty("总抽奖次数")
    private Integer totalTimes;

    @Schema(description = "总剩余次数")
    @ExcelProperty("总剩余次数")
    private Integer leftTimes;

    @Schema(description = "每人每天总抽奖次数")
    @ExcelProperty("每人每天总抽奖次数")
    private Integer dayTotalTimes;

    @Schema(description = "当天已剩余次数")
    @ExcelProperty("当天已剩余次数")
    private Integer dayLeftTimes;

    @Schema(description = "当前已消耗积分")
    @ExcelProperty("当前已消耗积分")
    private Integer expenseScore;

    @Schema(description = "当前剩余积分")
    @ExcelProperty("当前剩余积分")
    private Integer leftScore;

    @Schema(description = "状态(0-未中奖 1-已中奖）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("状态(0-未中奖 1-已中奖）")
    private Integer status;

    @Schema(description = "抽奖时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("抽奖时间")
    private LocalDateTime lotteryTime;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}